package com.gudaomai.wuye.service;

import java.util.List;

import com.gudaomai.wuye.common.CommonException;
import com.gudaomai.wuye.entity.HouseOwner;
import com.gudaomai.wuye.entity.HouseOwnerInfo;
import com.gudaomai.wuye.service.BaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zenghualu
 * @since 2017-09-01
 */
public interface IHouseOwnerServ extends BaseService<HouseOwner> {

	// 判断房主是否存在
	boolean isExist(String houseOwnerCode);

	// 通过住房id获取房主信息
	HouseOwner getHouseOwnerByHouseID(String id) throws  CommonException;

	// 通过车位id获取房主信息
	HouseOwner getHouseOwnerByParkID(String id);

	// 根据房屋编号或者业主信息获取业主信息
	List<HouseOwnerInfo> getHouseOwnersInfo(String houseId, String ownerInfo) throws CommonException;
	
}
